package com.njtoyo.taxi.admin.rest.presenter.customer;

import com.njtoyo.taxi.admin.mapper.master.entity.Ride;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "乘客欠款列表查询")
public class CustomerArrearsListPresenter {
    private ArrearsCustomer customer;

    private ArrearsOrder arrearsOrder;

    @Data
    public static class ArrearsCustomer {
        private Long id;
        private String name;
        private String mobileNumber;
    }

    @Data
    public static class ArrearsOrder {
        private Long id;
        private String category;
        private BigDecimal amount;
        private Date createdAt;
        private ArrearsRide ride;
    }

    @Data
    public static class ArrearsRide {
        private Long id;
        private Long driverId;
        private String driverName;
        private String driverMobileNumber;

        private Ride ride;
    }

}

